package com.yiyahui.project.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * 收费项目对象 yiya_charge_project
 * 
 * @author yiyahui
 * @date 2020-06-23
 */

@ApiModel(value="收费项目对象")
public class YiyaChargeProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 门诊id */
    @ApiModelProperty(value="门诊id")
    @Excel(name = "门诊id")
    private Long clinicId;

    /** 一级项目 */
    @ApiModelProperty(value="一级项目")
    @Excel(name = "一级项目")
    private String firstProjiect;

    /** 类型 */
    @ApiModelProperty(value="类型")
    @Excel(name = "类型")
    private String type;

    /** 产品项目 */
    @ApiModelProperty(value="产品项目")
    @Excel(name = "产品项目")
    private String productItems;

    /** 标签 用,分隔 */
    @ApiModelProperty(value="标签 用,分隔")
    @Excel(name = "标签 用,分隔")
    private String label;

    /** 原价 */
    @ApiModelProperty(value="原价")
    @Excel(name = "原价")
    private BigDecimal price;

    /** 价格1 1级审核价格 */
    @ApiModelProperty(value="价格1 1级审核价格")
    @Excel(name = "价格1 1级审核价格")
    private BigDecimal price1;

    /** 价格2 2级审核价格 */
    @ApiModelProperty(value="价格2 2级审核价格")
    @Excel(name = "价格2 2级审核价格")
    private BigDecimal price2;

    /** 单位 */
    @ApiModelProperty(value="单位")
    @Excel(name = "单位")
    private String unit;

    /** 开单状态 */
    @ApiModelProperty(value="开单状态")
    @Excel(name = "开单状态")
    private String billingStatus;

    /** 是否上架 0 未上架 1 已上架 */
    @ApiModelProperty(value="是否上架 0 未上架 1 已上架")
    @Excel(name = "是否上架 0 未上架 1 已上架")
    private Integer isUp;

    /** 前台是否可开单 0 不是 1 是 */
    @ApiModelProperty(value="前台是否可开单 0 不是 1 是")
    @Excel(name = "前台是否可开单 0 不是 1 是")
    private Integer isBilling;

    /** 是否是免费项目 0 不是 1 是 */
    @ApiModelProperty(value="是否是免费项目 0 不是 1 是")
    @Excel(name = "是否是免费项目 0 不是 1 是")
    private Integer isFree;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClinicId(Long clinicId) 
    {
        this.clinicId = clinicId;
    }

    public Long getClinicId() 
    {
        return clinicId;
    }
    public void setFirstProjiect(String firstProjiect) 
    {
        this.firstProjiect = firstProjiect;
    }

    public String getFirstProjiect() 
    {
        return firstProjiect;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setProductItems(String productItems) 
    {
        this.productItems = productItems;
    }

    public String getProductItems() 
    {
        return productItems;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice1() {
        return price1;
    }

    public void setPrice1(BigDecimal price1) {
        this.price1 = price1;
    }

    public BigDecimal getPrice2() {
        return price2;
    }

    public void setPrice2(BigDecimal price2) {
        this.price2 = price2;
    }

    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBillingStatus(String billingStatus) 
    {
        this.billingStatus = billingStatus;
    }

    public String getBillingStatus() 
    {
        return billingStatus;
    }
    public void setIsUp(Integer isUp) 
    {
        this.isUp = isUp;
    }

    public Integer getIsUp() 
    {
        return isUp;
    }
    public void setIsBilling(Integer isBilling) 
    {
        this.isBilling = isBilling;
    }

    public Integer getIsBilling() 
    {
        return isBilling;
    }
    public void setIsFree(Integer isFree) 
    {
        this.isFree = isFree;
    }

    public Integer getIsFree() 
    {
        return isFree;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clinicId", getClinicId())
            .append("firstProjiect", getFirstProjiect())
            .append("type", getType())
            .append("productItems", getProductItems())
            .append("label", getLabel())
            .append("price", getPrice())
            .append("price1", getPrice1())
            .append("price2", getPrice2())
            .append("unit", getUnit())
            .append("billingStatus", getBillingStatus())
            .append("isUp", getIsUp())
            .append("isBilling", getIsBilling())
            .append("isFree", getIsFree())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
